<?php
if (isset($_GET)) {
    include_once 'module/controls.php';
    include_once 'model/tags/process.php';
    $c = new controls();
    $tags = new tags();
    $fillOne = $tags->FillOne($_GET);
    ?>
    <div id="content">
        <div class="content_block">
            <h2 class="jquery_tab_title"><?php echo $phrase["manager_tags"] ?></h2>
            <form method="post" action="<?= $url["home"] ?>/menu/tagsprocess/t/3">
                <p>
                    <?php echo $c->get_textHidden("id", $fillOne["tag_id"]) ?>
                    <?php echo $c->get_label($phrase["tags_name"]) ?>
                    <?php echo $c->get_text("tagsname", $fillOne["tag_name"]) ?>
                    <span id="tick_username" class="tick"></span>
                    <span id="cross_username" class="cross"></span>
                </p>

                <p>
                    <?php echo $c->get_button("update", $phrase["update"]) ?>
                </p>
            </form>
        </div>
    </div>
<?php } ?>
<script type="text/javascript">
    $(document).ready(function(){
        $('.button').click(category_check);
    });
</script>